<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td   colspan="6" class="t_bar2">基本信息</td>
		
	</tr>
	<tr>
		<td   align="right"><span class="color_red">*</span>园区（基地）名称：</td>
		<td  colspan="5">
			<input id="zh_title" name="proposal/zh_title" label="园区（基地）名称" type="text" required class="input_css required maxlength:100"  style="width: 725px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>评定称号：</td>
	<td  colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="evaluation" label="国家新型工业化产业示范基地" value="01" /><span style="vertical-align: middle;">国家新型工业化产业示范基地</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="evaluation" label="江苏省新型工业化产业示范基地" value="02" /><span style="vertical-align: middle;">江苏省新型工业化产业示范基地</span></label> 
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="evaluation" label="江苏省工业设计示范园" value="03" /><span style="vertical-align: middle;">江苏省工业设计示范园</span></label>
	<label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="evaluation" label="江苏省重点物流基地" value="04" /><span style="vertical-align: middle;">江苏省重点物流基地</span></label><br/>
	<label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="evaluation" label="江苏省特色产业集群" value="05" /><span style="vertical-align: middle;">江苏省特色产业集群</span></label>
	<label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="evaluation" label="江苏省中小企业产业集聚示范区" value="06" /><span style="vertical-align: middle;">江苏省中小企业产业集聚示范区</span></label>
	<label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="evaluation" label="省级军民结合产业示范基地" value="07" /><span style="vertical-align: middle;">省级军民结合产业示范基地</span></label>
	<input type="hidden" name="proposal/evaluation_value" id="evaluation_value" class="required" value="<x:out select="$xmlData/data/proposal/evaluation_value" />" label="评定称号" /> 
	<input type="hidden" name="proposal/evaluation_name" id="evaluation_name" value="<x:out select="$xmlData/data/proposal/evaluation_name" />" label="评定称号" /></td>
	</tr>
	<tr>
	    <td align="right"><span class="color_red">*</span>评定部门：</td>
	   	<td  colspan="2">
			<input  name="proposal/evaluation_unit" label="评定部门" type="text" required class="input_css required "  maxlength="100" value="<x:out select="$xmlData/data/proposal/evaluation_unit" />"/> 
		</td>
		<td align="right"><span class="color_red">*</span>评定级次：</td>
		<td nowrap  colspan="2" valign="middle">
		<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="identified" label="国家级" value="01" /><span style="vertical-align: middle;">国家级</span></label> 
		<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="identified" label="省级" value="02" /><span style="vertical-align: middle;">省级</span></label> 
<!-- 		<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="identified" label="市级" value="03" /><span style="vertical-align: middle;">市级</span></label>
 -->		<input type="hidden" name="proposal/identified_value" id="identified_value" class="required" value="<x:out select="$xmlData/data/proposal/identified_value" />" label="评定级次" /> 
		<input type="hidden" name="proposal/identified_name" id="identified_name" value="<x:out select="$xmlData/data/proposal/identified_name" />" label="评定级次" /></td>
	</tr>
	<tr>
	    <td align="right"><span class="color_red">*</span>评定文件（文号）：</td>
	   	<td  colspan="2">
			<input  name="proposal/evaluation_file" label="评定文件" type="text" required class="input_css required "  maxlength="100" value="<x:out select="$xmlData/data/proposal/evaluation_file" />"/> 
		</td>
		<td align="right"><span class="color_red">*</span>评定时间：</td>
		<td nowrap  colspan="2" >
		<c:set var="evaluation_date"><x:out select="$xmlData/data/proposal/evaluation_date" /></c:set>
			<cpt:date id="evaluation_date" name="proposal/evaluation_date" value="${evaluation_date}" className=" required date" label="评定时间"></cpt:date> 
		</td>
	</tr>
	<tr>
	    <td align="right"><span class="color_red">*</span>所在地址：</td>
	   	<td  colspan="2">
			<input  name="proposal/evaluation_address" label="所在地址" type="text" required class="input_css required "  style="width:250px	" maxlength="100" value="<x:out select="$xmlData/data/proposal/evaluation_address" />"/> 
		</td>
		<td align="right"><span class="color_red">*</span>园区/基地面积（平方米）：</td>
		<td nowrap  colspan="2" >
		<input  name="proposal/garden_area"  label="园区/基地面积" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2)" value="<x:out select="$xmlData/data/proposal/garden_area" />"/>
		</td>
	</tr>
	
	<tr>
	    <td align="right" rowspan="2"><span class="color_red">*</span>入驻企业数：</td>
	   	<td rowspan="2">
			<input  name="proposal/company_num" label="入驻企业数" id="comapny_num" type="text" onchange="onScare('comapny_num','scale_up','scale_pre');onScare('comapny_num','double_hundred','double_hundred_pre');" required class="input_css required "  style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/company_num" />"/> 
		</td>
		<td align="right"><span class="color_red">*</span>其中规模以上企业数：</td>
		<td  >
		<input  name="proposal/scale_up" id="scale_up" label="其中规模以上企业数" type="text" onchange="onScare('comapny_num','scale_up','scale_pre');" class="input_css required valueGreatEqual:comapny_num:scale_up" style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/scale_up" />"/>
		</td>
		<td align="right">占比(%)：</td>
		<td  >
		<input  name="proposal/scale_pre" id="scale_pre" label="其中规模以上企业数-->占比" type="text"  class="input_css gray" disabled style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2)" value="<x:out select="$xmlData/data/proposal/scale_pre" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>其中市“双百企业”数<br/>（市级重点骨干企业/<br/>市级成长科技型企业）：</td>
		<td  >
		<input  name="proposal/double_hundred" id="double_hundred" label="其中市“双百企业”数" type="text" onchange="onScare('comapny_num','double_hundred','double_hundred_pre');" class="input_css required valueGreatEqual:comapny_num:double_hundred" style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/double_hundred" />"/>
		</td>
		<td align="right">占比(%)：</td>
		<td  >
		<input  name="proposal/double_hundred_pre" id="double_hundred_pre" label="其中市“双百企业”数-->占比" type="text"  class="input_css gray" disabled style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2)" value="<x:out select="$xmlData/data/proposal/double_hundred_pre" />"/>
		</td>
	</tr>
	<tr>
	    <td  align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td colspan="5">
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="申报日期"></cpt:date> 
		</td>
	</tr>
	</table>
	<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1"  id="basicInfo1">
			<col style="width: 20%" />
			<col style="width: 30%" />
			<col style="width: 20%" />
			<col style="width: 30%" />
	<tr>
		<td   colspan="4" class="t_bar2">园区（基地）内企业上年度经济效益</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>销售总额（万元）：</td>
	<td colspan="1">
	<input name="proposal/sell_total"  label="销售总额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sell_total" />"/>
	</td>
	<td align="right"><span class="color_red">*</span>同比增幅（%）：</td>
	<td colspan="1">
	<input  name="proposal/sell_increase"  label="销售总额-->同比增幅" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2,null,true)" value="<x:out select="$xmlData/data/proposal/sell_increase" />"/>
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>利润总额（万元）：</td>
	<td colspan="1">
	<input  name="proposal/profit_total"  label="利润总额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/profit_total" />"/>
	</td>
	<td align="right"><span class="color_red">*</span>同比增幅（%）：</td>
	<td colspan="1">
	<input  name="proposal/profit_increase"  label="利润总额-->同比增幅" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2,null,true)" value="<x:out select="$xmlData/data/proposal/profit_increase" />"/>
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>税收总额（万元）：</td>
	<td colspan="1">
	<input  name="proposal/tax_total"  label="税收总额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/tax_total" />"/>
	</td>
	<td align="right"><span class="color_red">*</span>同比增幅（%）：</td>
	<td colspan="1">
	<input  name="proposal/tax_increase"  label="税收总额-->同比增幅" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,2,2,null,true)" value="<x:out select="$xmlData/data/proposal/tax_increase" />"/>
	</td>
	</tr>
	</table>

	<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="basicInfo2">
			<col style="width: 20%" />
			<col style="width: 30%" />
			<col style="width: 20%" />
			<col style="width: 30%" />
	<tr>
		<td   colspan="4" class="t_bar2">申请项目资金情况</td>
	</tr>
	<tr>
	<td  align="right" >项目类别：</td>
	<td ><x:out select="$xmlData/data/proposal/grant_name" />
	</td> 
	<td  align="right" >支持方式：</td>
	<td colspan="1" >
		<span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
	</td>
	</tr>
		<tr>
	    <td align="right"><span class="color_red">*</span>申请金额（万元）：</td>
	    <td >
	    <input  name="proposal/sqje" id="source_apply" label="申请金额" type="text"  class="input_css required" style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sqje" />"/> 
	    </td>
	    <td  align="right">资金级次：</td>
		<td colspan="1">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap>归口管理部门：</td>
		<td  ><span name="proposal/org_name">无锡市经济和信息化委员会</span> </td>
	    <td  align="right">管理类别：</td>
		<td  colspan="1">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" /></span>
		</td>
		
	</tr>
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="3">
			<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set>
			<cpt:checkbox key="industry" name="industry" repeatColumn="5" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value" name="proposal/industry_value" class="required" value="${industry}" label="项目所属产业">
			<input type="hidden" name="proposal/industry_name" value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="3">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
	</table>
	<table  width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td    class="t_bar2">申请资助依据条款</td>
		
	</tr>
	<tr>
		<td >
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span name="proposal/policy_foundation"><x:out select="$xmlData/data/proposal/policy_foundation" /></span> 
		</td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td class="t_bar2" colspan="8">人员信息</td>
		
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
			<input  name="proposal/fzr_psncode" type="hidden" required class="input_css "   maxlength="20" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/psn_code" />"/> 
		    
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		    <c:set var="psnCode"><x:out select="$xmlData/data/proposal/psn_code" /></c:set>
		    <security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
				<span id="personSelect">
				<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置">
				<cpt:personSelect key="personSelect"  addRole="3"  psnCode="${psnCode}" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="设置项目负责人" fltFile="personSelector.ftl"></cpt:personSelect>
				</span>
			</security:authorize>
		</td>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL"> 
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		</security:authorize>
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
		<input name="proposal/fzr_tel" label="项目负责人联系电话" type="text" required  class="input_css required"  onchange="synFzrMsg(1)"  maxlength="50"  value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" />"/>
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
		<input name="proposal/fzr_mobile" label="项目负责人联系手机" type="text" onchange="synFzrMsg(1)" onfocus="InitInput.setNumber(this,11,0,0)"  maxlength="11"  class="input_css required mobile"   value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" />"/>
		</td>
		</security:authorize>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
</table>

<script type="text/javascript">
function onScare(id1,id2,id3){
	var val1 = $.trim($("#"+id1).val());
	var val2 = $.trim($("#"+id2).val());
	if(val1=='' || val1 == 0){
		$("#"+id3).val("");
	}else{
		$("#"+id3).val(formatVal(val2*100/val1));
	}
	
}
</script>

